//
//  BNTabItem.swift
//  BNUQuoteTrade
//
//  Created by bebull on 2021/12/22.
//

import Foundation
import UIKit

class BNTabItem: BNTabTitleItem {
    
    var width: CGFloat = 0.0
    var lineWidth: CGFloat = 0.0
    /// 背景色
    var color: UIColor = .clear
    var selectedColor: UIColor = .clear
    
    var selected: Bool = false
}

class BNTabTitleItem {
    var title: String?
    
    /// 标题颜色，默认#9FB0CA
    var titleColor = UIColor(white: 1.0, alpha: 0.6)
    /// 标题选中颜色，默认#2F79FF
    var titleSelectedColor = UIColor(red: 47 / 255.0, green: 121 / 255.0, blue: 1.0, alpha: 1.0)
    /// 标题字体，默认14号苹方
    var titleFont = UIFont.systemFont(ofSize: 14)
    /// 标题选中字体, 默认14号苹方Medium
    var titleSelectedFont = UIFont.systemFont(ofSize: 14, weight: .medium)
}
